<html>                                                                  
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
         
<script type="text/javascript">

var targeturl = "http://go.tripexplore.net/gplus?path=photos&id=108979762451884041474&num=4";
var postdata = "url=" + encodeURIComponent(targeturl);
//var url = "http://localhost:8000/htmljson"; // + "?url=" + encodeURIComponent(targeturl); 
var url = "http://go.tripexplore.net/htmljson";
$(document).ready(function() {
	$.ajax({
		  url: url,
		  type: "GET",
		  dataType: "json",
		  data : postdata,
		  success: function(data) {
	    		$("#panel").html(data.Content);
		  },
		  error: function(x,y,z) {
		    alert(x.responseText);
		 // x.responseText should have what's wrong
		  }
		});

	/*
	$.getJSON("http://localhost:8000/htmljson",
        function(data){
    		$("#images").html(data.Content);			 			
        });
	*/

});                                                                  
</script>   
</head>                                                                 
<body>                                                                  
   <!-- we will add our HTML content here -->
   
  <div id="panel">Loading...</div>
  





                                                            

                                          
</body>                                                                 
</html>